package com.dyzx.hbb.modules.sys.service;

import com.dyzx.hbb.common.base.PageQuery;
import com.dyzx.hbb.common.base.PageResult;
import com.dyzx.hbb.modules.sys.entity.SysDictValue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dyzx.hbb.modules.sys.query.DictValueQuery;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【sys_dict_value(字典值表)】的数据库操作Service
* @createDate 2025-04-21 16:07:41
*/
public interface SysDictValueService extends IService<SysDictValue> {

    PageResult<SysDictValue> findByPage(PageQuery pageQuery, DictValueQuery query);

    List<Map<String, Object>> findByKey(String dictkey);

    Map<String, List<Map<String, Object>>> findByKeys(String attrkeys);
    Map<String, List<Map<String, Object>>> findByKeyAll();

    Map<Integer, SysDictValue> findByMapKey(String sysFileType);
    List<SysDictValue> findByListKey(String sysFileType);
}
